package com.eqxiu.ieditor.api.controller.weixin.doc;

import com.eqxiu.ieditor.commons.web.ResultData;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

@Api(description = "微信接口")
public interface WxDoc {

	@ApiOperation(notes = "获取带参数的二维码ticket", value = "获取带参数的二维码ticket,")
	public ResultData getQRTicket(@ApiParam(required = true) String appId, @ApiParam(required = true) String sceneCode);
	
	@ApiOperation(notes = "获取带分享的jsticket", value = "获取带分享的jsticket")
	public ResultData getJSTicket(@ApiParam(required = true, name = "appId") String appId,
			@ApiParam(required = true, defaultValue = "jsapi") String type);

	@ApiOperation(value = "为分享进行签名,返回分享的必要字段")
	public ResultData signJsApi(@ApiParam(required = true) String appId, @ApiParam(required = true) String url);

}
